import Vue from "vue";
import VueRouter from "vue-router";
import Home from "../views/Home.vue";
import About from "../views/About.vue";
import Details from "../views/Details.vue";
import Problem from "../views/Problem.vue";
import Recruit from "../views/Recruit.vue";
import Contact from "../views/Contact.vue";
import Project from "../views/Project.vue";
import ProblemDetails from "../views/ProblemDetails.vue";
import Case from "../views/Case.vue";
import GoDetails from "../views/GoDetails.vue";
Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
  },
  {
    path: "/about",
    name: "About",
    component: About,
  },
  {
    path: "/project",
    name: "Project",
    component: Project,
  },
  {
    path: "/solution",
    name: "Home",
    component: Home,
  },
  {
    path: "/details",
    name: "Details",
    component: Details,
  },
  {
    path: "/problem",
    name: "Problem",
    component: Problem,
  },
  {
    path: "/recruit",
    name: "Recruit",
    component: Recruit,
  },
  {
    path: "/hr_tip",
    name: "Recruit",
    component: Recruit,
  },
  {
    path: "/contact",
    name: "Contact",
    component: Contact,
  },
  {
    path: "/problemDetails",
    name: "ProblemDetails",
    component: ProblemDetails,
  },
  {
    path: "/case",
    name: "Case",
    component: Case,
  },
  {
    path: "/goDetails",
    name: "GoDetails",
    component: GoDetails,
  },
];

const router = new VueRouter({
  routes,
});

export default router;
